package  com.pcbly.web.business.system;
/**
* @author carl.song
* Copyright (c) 2010 Lightsoft, International.
* All rights reserved.
*
*/

import java.util.List;

import com.pcbly.web.bean.system.ProvinceCityBean;
import com.pcbly.web.business.BaseService;
import com.pcbly.web.components.hibernate.support.Page;

public interface ProvinceCityService extends BaseService<ProvinceCityBean> {

	ProvinceCityBean getProvinceCityBeanById(String id) throws Exception;
	
	void removeProvinceCityBeanById(String id) throws Exception;
	
	void removeProvinceCityBeanByIds(String ids) throws Exception;
	
	void saveProvinceCityBean(ProvinceCityBean system) throws Exception;
	
	void updateProvinceCityBean(ProvinceCityBean system) throws Exception;
	Page<ProvinceCityBean>  findProvinceCityBeanByCond(ProvinceCityBean bean,
			Page<ProvinceCityBean> page, String orderByName, boolean asc)
			throws Exception;
	List<ProvinceCityBean> findProvinceCityBeansByParentId(String parentId)throws Exception;
}